package com.sen.rbac.feign;

import com.sen.rbac.feign.fallback.RbacResourceFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author wr
 * @date 2021年04月26日 16:45
 */
@FeignClient(name = "linsir-sen-rbac",fallbackFactory = RbacResourceFeignFallbackFactory.class)
public interface RbacRoleFeign {

    /**
     * 根据角色名查询账户
     * @param
     * @return
     */
//    @GetMapping(value = "/role/getPeopelByRole")
//    MessageResult<List<MemberPeopleListVO>> getPeopelByRole(@RequestParam("roleName") String roleName, @RequestParam("tenantCode") String tenantCode);
}
